home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
a_utils
/
perl
/
msds-prl
/
ptchds19.zoo
/
doio_c
< prev
next >
Wrap
Text File
|
1992-02-23
|
1KB
|
44 lines
MS-DOS patches to perl.
Apply this patch to the standard perl source, version 4, patch level 19,
using "patch -p." Do this in the root directory of the perl source
distribution.
You can cat all these patches together and pipe the output to patch -p.
Len Reed
Holos Software, Inc.
..!gatech!holos0!lbr
holos0!lbr@gatech.edu
--------------------------------------
*** doio.c.old Mon Nov 11 09:31:22 1991
--- doio.c Thu Nov 14 08:52:16 1991
***************
*** 80,85 ****
--- 80,87 ----
#include <sys/file.h>
#endif
+ #include <math.h>
+
int laststatval = -1;
int laststype = O_STAT;
***************
*** 1259,1264 ****
--- 1261,1275 ----
register char **a;
register char *s;
char flags[10];
+
+ #ifdef MSDOS
+ /* Close the temp files in anticipation that the exec
+ will succeed. If it fails, we're screwed. (MS-DOS
+ exec handling needs a lot of work. The ambitious
+ should refer to the way system and pipes work.
+ */
+ cleanup_msdos_temps();
+ #endif
/* save an extra exec if possible */